package com.ruoyi.shop.member.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员用户地址 shop_member_address
 * 
 * @author xuxiang
 */
public class ShopMemberAddress extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** 收货地址id */
	private String addrId;

	/** 会员用户id */
	@Excel(name = "会员id")
	private Long memberId;

	/** 收货联系人姓名 */
	@Excel(name = "收货联系人姓名")
	private String contact;

	/** 所在省id */
	@Excel(name = "所在省id")
	private Long provinceId;

	/** 所在省名称 */
	@Excel(name = "所在省名称")
	private String provinceName;

	/** 所在市id */
	@Excel(name = "所在市id")
	private Long cityId;

	/** 所在市名称 */
	@Excel(name = "所在市名称")
	private String cityName;

	/** 所在县id */
	@Excel(name = "所在县id")
	private Long districtId;

	/** 所在县名称 */
	@Excel(name = "所在县名称")
	private String districtName;

	/** 手机号 */
	@Excel(name = "手机号")
	private String mobile;

	/** 固定电话 */
	@Excel(name = "固定电话")
	private String phone;

	/** 详细地址 */
	@Excel(name = "详细地址")
	private String address;

	/** 邮编 */
	@Excel(name = "邮编")
	private String postCode;

	/** 经度 */
	@Excel(name = "经度")
	private String longitude;

	/** 纬度 */
	@Excel(name = "纬度")
	private String latitude;

	/** 是否默认Y是N否 */
	@Excel(name = "是否默认")
	private Integer isDefault;

	/** 删除标志（0代表存在 2代表删除） */
	private String delFlag;

	public void setAddrId(String addrId) {
		this.addrId = addrId;
	}

	public String getAddrId() {
		return addrId;
	}

	public Long getMemberId() {
		return memberId;
	}

	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public String getContact() {
		return contact;
	}

	public void setProvinceId(Long provinceId) {
		this.provinceId = provinceId;
	}

	public Long getProvinceId() {
		return provinceId;
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}

	public String getProvinceName() {
		return provinceName;
	}

	public void setCityId(Long cityId) {
		this.cityId = cityId;
	}

	public Long getCityId() {
		return cityId;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public String getCityName() {
		return cityName;
	}

	public void setDistrictId(Long districtId) {
		this.districtId = districtId;
	}

	public Long getDistrictId() {
		return districtId;
	}

	public void setDistrictName(String districtName) {
		this.districtName = districtName;
	}

	public String getDistrictName() {
		return districtName;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPhone() {
		return phone;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getAddress() {
		return address;
	}

	public void setPostCode(String postCode) {
		this.postCode = postCode;
	}

	public String getPostCode() {
		return postCode;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}

	public String getLongitude() {
		return longitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	public String getLatitude() {
		return latitude;
	}

	public Integer getIsDefault() {
		return isDefault;
	}

	public void setIsDefault(Integer isDefault) {
		this.isDefault = isDefault;
	}

	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

	public String getDelFlag() {
		return delFlag;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("addrId", getAddrId())
				.append("memberId", getMemberId()).append("contact", getContact()).append("provinceId", getProvinceId())
				.append("provinceName", getProvinceName()).append("cityId", getCityId())
				.append("cityName", getCityName()).append("districtId", getDistrictId())
				.append("districtName", getDistrictName()).append("mobile", getMobile()).append("phone", getPhone())
				.append("address", getAddress()).append("postCode", getPostCode()).append("longitude", getLongitude())
				.append("latitude", getLatitude()).append("isDefault", getIsDefault())
				.append("createTime", getCreateTime()).append("updateTime", getUpdateTime())
				.append("delFlag", getDelFlag()).toString();
	}
}
